<head>
<title>中国城市</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width" />
</head>

<select>
<script>
var arr = ["北京市","上海市","广州市","深圳市","成都市","杭州市","武汉市","重庆市","南京市","天津市","苏州市","西安市","长沙市","沈阳市","青岛市","郑州市","大连市","东莞市","宁波市"];
for(var i=0;i<arr.length;i++){
 document.write("<option>"+arr[i]+"</option>");
}
</script>
</select>